<?php

/**
 * sitemap actions.
 *
 * @package    blog
 * @subpackage sitemap
 * @author     Juan Manuel Zalazar
 * @version    SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class sitemapActions extends sfActions
{
 /**
  * Executes index action
  *
  * @param sfRequest $request A request object
  */
    
    public function executeXmlSitemap(sfRequest $request){  
        $this->setLayout(false);  
        $this->getResponse()->setContentType('text/xml');  
        $this->blog_news_atom = Doctrine_Core::getTable('BlogNew')->getNewsPublic(10000);
        $this->blog_categories = Doctrine_Core::getTable('BlogCategory')->getCategories();
  }  
  
  
  
  
}
